package com.shenkh.usunshine.spring.helloworld;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractGreeting implements Greeting {
	private Logger logger = LoggerFactory.getLogger(AbstractGreeting.class);
	
	@Override
	public void greet() {
		logger.info(getGreetingWords());
	}
	
	protected abstract String getGreetingWords();
}
